package com.terren.statistic.db.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.terren.statistic.db.basic.BasicServiceSupportImpl;
import com.terren.statistic.db.entity.KeyConfigImpala;
import com.terren.statistic.db.service.KeyConfigImpalaService;



@Service("keyConfigImpalaService")
public class KeyConfigImpalaServiceImpl extends BasicServiceSupportImpl implements KeyConfigImpalaService{
	
	private final String SQL_MAPPER = "keyConfigImpalaMapper.";

	@Override
	public List<KeyConfigImpala> getKeywordsNew(KeyConfigImpala param) throws Exception {	
		return basicDao.findForList(SQL_MAPPER+"getKeywordsNew", param);
	}

	@Override
	public void updateKeywordExportStatus(KeyConfigImpala param) throws Exception {
		basicDao.save(SQL_MAPPER+"updateKeywordExportStatus", param);
	}
	@Override
	public void updateKeywordStatus(KeyConfigImpala param) throws Exception {
		basicDao.save(SQL_MAPPER+"updateKeywordStatus", param);
	}

	

}